package com.wxm.killing.mq.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import javax.persistence.*;

/**
 * 
 * 
 * @author wxm
 * @email xiaomin.wu1@pactera.com
 * @version 2019-11-05 14:57:57
 */
@Data
@Table(name = "tb_contract_rush_buy")
public class TbContractRushBuy implements Serializable {
    private static final long serialVersionUID=1L;
   /**
    * 编号
    */
	@Id
	private Integer buyId;
   /**
    * 1:申购 2:抢购
    */
	@Column(name = "type")
	private Integer type;
   /**
    * 会员编号
    */
	@Column(name = "user_id")
	private Integer userId;
   /**
    * 合约编号
    */
	@Column(name = "contract_id")
	private Integer contractId;
   /**
    * 
    */
	@Column(name = "sn")
	private String sn;
   /**
    * 申购金额
    */
	@Column(name = "number")
	private BigDecimal number;
   /**
    * 创建时间
    */
	@Column(name = "create_time")
	private Date createTime;
   /**
    * 审核时间
    */
	@Column(name = "confirm_time")
	private Date confirmTime;
   /**
    * 
    */
	@Column(name = "cancel_time")
	private Date cancelTime;
   /**
    * 交易完成时间
    */
	@Column(name = "done_time")
	private Date doneTime;
   /**
    * 匹配时间
    */
	@Column(name = "matching_time")
	private Date matchingTime;
   /**
    * 
    */
	@Column(name = "pay_address")
	private String payAddress;
   /**
    * 0：待审核 1：排队中 2：匹配完成  3：交易完成  -1：取消
    */
	@Column(name = "status")
	private Integer status;
   /**
    * 
    */
	@Column(name = "content")
	private String content;
   /**
    * 
    */
	@Column(name = "lease_day")
	private Integer leaseDay;
   /**
    * 
    */
	@Column(name = "lease_profit_rate")
	private String leaseProfitRate;
   /**
    * 
    */
	@Column(name = "lease_profit_number")
	private BigDecimal leaseProfitNumber;
   /**
    * 
    */
	@Column(name = "lease_burning_rate")
	private String leaseBurningRate;
   /**
    * 
    */
	@Column(name = "lease_burning_number")
	private BigDecimal leaseBurningNumber;
}
